/**
 * 
 */
package com.lemote.resp;

import java.io.Serializable;

import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;


/**
 * @author wuhui
 *
 * 下午05:17:03
 */
@XmlRootElement(name = "base")
public class BaseRespObj implements Serializable {
	private static final long serialVersionUID = -3197616622643404121L;

	@XmlElement(name = "infocode")
	private RespCode respCode;

	public BaseRespObj() {
		this.setCode(RespCode.NODEFINE);
	}

	public void setCode(RespCode retdCodeType) {
		this.respCode = retdCodeType;
	}

	public int getCode() {
		return respCode.getCode();
	}
}
